<%@ page language="java"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="vcs" uri="http://vowconsultancy/vcstaglib"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
</head>
<body>
	<s:url action="registration.htm" namespace="/client" var="clientRegUrl" />
	<s:url action="registration.htm" namespace="/js" var="jobseekerRegUrl" />
	<s:url action="profile.htm" namespace="/client" var="clientProfileUrl" />
	<s:url action="postjob.htm" namespace="/client" var="postJobUrl" />
	<s:url action="hotjobs.htm" namespace="/client" var="hotJobsUrl" />
	<s:url action="jobsbyme.htm" namespace="/client" var="jobsbymeUrl" />
	<s:url action="applied.htm" namespace="/js" var="appliedUrl" />

	<%-- links on the left hand navigation bar --%>
	<br />
	<a href="${clientRegUrl}"> <vcs:roundedCornerBoxTag bgcolor="green"
			fontColor="white">
			New Client Registration
		</vcs:roundedCornerBoxTag> <%-- <div id="client-reg-img"></div>  --%> </a>
	<br />
	<a href="${jobseekerRegUrl}" style="color: white;"> <vcs:roundedCornerBoxTag
			bgcolor="green" fontColor="white">
			Jobseeker Registration
		</vcs:roundedCornerBoxTag> <%-- <div id="jobseeker-reg-img"></div>  --%> </a>
	<br />
	<hr />
	<s:if test="#session.client != null">
		<br />
		<table id="admin-links-table" border="0" cellpadding="5"
			cellspacing="2">
			<tr>
				<td><s:a href="%{postJobUrl}">Post new Job</s:a></td>
			</tr>
			<tr>
				<td><s:a href="%{jobsbymeUrl}">Jobs Posted by me</s:a></td>
			</tr>
			<tr>
				<td><s:a href="%{hotJobsUrl}">Hot Jobs on VCS</s:a></td>
			</tr>
		</table>
		<br />
		<hr />
	</s:if>

	<s:if test="#session.js != null">
		<table id="admin-links-table" border="0" cellpadding="5"
			cellspacing="2">
			<tr>
				<td><s:a href="%{appliedUrl}">Jobs Applied by me</s:a></td>
			</tr>
		</table>
		<hr />
	</s:if>

	<br />


	<%--Table for Admin Links --%>

	<s:if test='#session.client != null && #session.client.role eq "ADMIN"'>

		<s:url action="resumedb.htm" namespace="/client"
			var="resumeDatabaseUrl" />
		<s:url action="applications.htm" namespace="/client"
			var="jobApplicationsUrl" />

		<s:url action="adminemail" namespace="/client" var="adminEmailUrl" />
		<s:url action="dbdownload" namespace="/client" var="excelDownloadUrl" />

		<table id="admin-links-table" border="0" cellpadding="5"
			cellspacing="2">
			<tr>
				<td><s:a href="%{resumeDatabaseUrl}">Resume Database</s:a></td>
			</tr>
			<tr>
				<td><s:a href="%{jobApplicationsUrl}">Current Job Applications</s:a>
				</td>
			</tr>
			<tr>
				<td><s:a href="%{adminEmailUrl}">Send Bulk Email</s:a></td>
			</tr>
			<tr>
				<td><s:a href="%{excelDownloadUrl}">Download Database (EXCEL)</s:a>
				</td>
			</tr>
		</table>
		<br />
		<hr />
		<br />
	</s:if>


	<%-- url variables for interview questions links --%>
	<s:url action="questions.htm" namespace="/" var="hrQuestionsUrl">
		<s:param name="category">hr</s:param>
	</s:url>
	<s:url action="questions.htm" namespace="/" var="javaQuestionsUrl">
		<s:param name="category">java</s:param>
	</s:url>
	<s:url action="questions.htm" namespace="/" var="j2eeQuestionsUrl">
		<s:param name="category">j2ee</s:param>
	</s:url>
	<s:url action="questions.htm" namespace="/" var="mistakesQuestionsUrl">
		<s:param name="category">mistakes</s:param>
	</s:url>


	<%-- Table for interview questions links --%>
	<table id="admin-links-table" border="0" bgcolor="#EEEEEE" width="100%"
		cellpadding="5" cellspacing="2">

		<tr>
			<td><a href="${hrQuestionsUrl}">H.R. Interview Questions</a></td>
		</tr>
		<tr>
			<td><a href="${javaQuestionsUrl}">Java Interivew Questions</a></td>
		</tr>
		<tr>
			<td><a href="${j2eeQuestionsUrl}">J2ee Interview Questions</a></td>
		</tr>
		<tr>
			<td><a href="${mistakesQuestionsUrl}">Common mistakes</a></td>
		</tr>
	</table>
	<br />
	<br />

	<%-- Stickey Note on Left navigation bar. (Edit package.propertis to edit the text displyed on the sitckey note) --%>
	<div class="sticky_note_container">
		<!-- actually use a post it note here on the page -->
		<div class="sticky_note">
			<div class="sticky_note_content">
				<!-- content of sticky note here -->
				<s:text name="stickey.note">
	Click on <strong style="color: red;">Resume Services</strong> Tab and subscribe for Resume Services on Vow Consultancy Services <br />
					<br />
					<blink> Attractive discounts on Resume services packages</blink>
				</s:text>
				<!-- end of content of sticky note -->
			</div>
		</div>
		<div class="sticky_note_footer">&nbsp;</div>
		<br clear="all" />
	</div>

</body>
</html>
